<template>
	<h4>7.捕获特定按键</h4>
	<input type="text" value="捕获Enter键" @keyup.enter="showmsg('我松开了Enter键')"/>
</template>

<script setup>
	let showmsg=msg=>{
		console.log(msg)
	}
</script>

<style>
</style>